<template>
  <div class="container">
    <nav-bar>
      <div slot="center">首页</div>
    </nav-bar>
    <div class="logo">
      <img src="../assets/logo1.png" alt="" />
    </div>
    <div class="product">
      <div class="title">
        <label>点检管理</label>
      </div>
      <div class="grid">
        <van-grid :column-num="3" :gutter="3">
          <van-grid-item to="/check/list">
            <img src="..\assets\icon\fill-4-9.png" />
            <label>开始点检</label>
          </van-grid-item>
          <van-grid-item to="/check/manage">
            <img src="..\assets\icon\fill-3-1.jpg" />
            <label>异常管理</label>
          </van-grid-item>
          <van-grid-item to="/check/task/MyTask">
            <img src="..\assets\icon\fill-3-6.png" />
            <label>异常处理</label>
          </van-grid-item>
          <van-grid-item to="/check/perform/index">
            <img src="..\assets\icon\fill-2-8.png" />
            <label>绩效管理</label>
          </van-grid-item>
        </van-grid>
      </div>
    </div>
    <div class="product">
      <div class="title">
        <label>生产管理</label>
      </div>
      <div class="grid">
        <van-grid :column-num="3" :gutter="3">
          <van-grid-item to="/product">
            <img src="..\assets\icon\fill-3-1.jpg" />
            <label>生产</label>
          </van-grid-item>
          <van-grid-item to="/unusual">
            <img src="..\assets\icon\fill-3-6.png" />
            <label>异常</label>
          </van-grid-item>
          <van-grid-item to="/target">
            <img src="..\assets\icon\fill-4-1.png" />
            <label>指标</label>
          </van-grid-item>
          <van-grid-item to="/perform">
            <img src="..\assets\icon\fill-3-5.png" />
            <label>绩效</label>
          </van-grid-item>
        </van-grid>
      </div>
    </div>
    
  </div>
</template>

<script>
import NavBar from "@/components/NavBar.vue";
export default {
  name: "",
  components: {
    NavBar,
  },
  props: {},
  data() {
    return {
      active: 0,
      title: "生产",
    };
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {},
};
</script>

<style scoped lang="less">
.container {
  padding: 3px;
  margin-top: 90px;
  .logo {
    background-color: #0689f4;
    text-align: center;
    padding: 70px 0 70px 0;
    img {
      width: 50%;
      // height: 200px;
    }
  }
  .product {
    padding: 15px;
    .title {
      border-bottom: 1px solid #ddd;
      label {
        font-size: 18px;
        margin: 10px;
        border-bottom: 4px solid #1989fa;
      }
    }
    .grid {
      margin-top: 15px;
      img {
        width: 38px;
        height: 38px;
      }
      label {
        margin-top: 11px;
        font-size: 13px;
        color: #646566;
      }
    }
  }
}
</style>